*{
	margin: 0 auto;
	padding: 0;
}

#homepage{
	background-image: url(images/Untitled.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	min-height: 100vh;
}

body{
	height: 100vh;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
	
.block{
	display: block;
}

.basicText{
	font-size: 13px;
	font-family: sans-serif;
}	
#randomImage{
	display: none;
	width: 250px;
	position: absolute;
	bottom: 0;
	left: 0;
}
#randomImage img{
	width: 100%;
}

#containerCosmo{
	position: absolute;
	top: 0px;
	right: 50px;
	width: 200px;
	height: 200px;
	z-index: 1000;
}
#containerInput{
	text-align: center;
	padding: 50px 0;
}
#containerInput input{
	border: 4px dotted pink;
	padding: 5px 10px;
	border-radius: 5px;
	height: 20px;
	width: 200px;
	font-size: 18px;
	color: pink;
}

#gifWrapper {
	width: 600px;
	height: 600px;
	z-index: 500;
}
#gifCosmo{
	display:none; 
	text-align: center; 
	pointer-events: none; 
}
#houseSign{
	position: absolute;
	bottom: 5vh;
	right: 20%;
	width: 300px;
	height: 200px;
	cursor: pointer;
	transform: rotate(0deg) scale(1.0);
	transition: .3s all ease;
	z-index: 1000;
}
#houseSign:hover{
	transform: rotate(-5deg) scale(1.3);
}
#houseSign a{
	display: block;
}
#houseSign a img{
	width: 150%;
}

#monImage{
	position: absolute;
	top: 50px;
	width: 150px;
	display: none;
}
#monImage img{
	width: 100%;
}


#maison #photoMaison{
	position: relative;
}
#maison #photoMaison img{
	position: relative;
	top: -30px;
}

.hiddenObject{
	border: 5px solid rgba(250,180,180, .0);
	transition: .3s ease;
	background: rgba(0,0,0,0);
	position: absolute;
	z-index: 1000;
	display: block;
}
.hiddenObject:hover{
	background: rgba(250,255,255, .3);
}
#atticBox{
	top: 220px;
	left: 835px;
	width: 50px;
	height: 70px;
	transform: rotate(-30deg);
	border-radius: 50%;
}
#tunnelBox{
	bottom: 35px;
	left: 0;
	width: 150px;
	height: 700px;
}
#tunnelBox:hover{
	background: rgba(0,0,0, .3);
}

/*#merBox{
	bottom: 35px;
	right: 0;
	width: 150px;
	height: 600px;
}
#oceanBox:hover{
	background: rgba(0,0,100, .3);
}*/

.papillons{
	display: block;
	position: absolute;
	width: 350px;
	height: 350px;
	background: 0 0 / contain no-repeat url('images/papillon.gif');
	top: 50px;
	right: 10px;
}
.papillons2{
	top: 300px;
	right: calc(90% - 350px);
}

.papillons3{
	top: 60px;
	right: 1000px;
}

.alien{
	display: block;
	position: absolute;
	top: 30px;
	right: calc(90% - 350px);
	
    }
.alien1{
	top: 20px;
	right: 10px;
	height: 10%;
	}

.alien2 {
	top:10px;
	height: 100%;
}

#mouche {
	background-image: url('images/mouche.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	min-height: 100vh;
}

.moucheGif {
	display: block;
	position: absolute;
}

.moucheGab {
  position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    height: 300px;
    z-index: 2;
}

.form{
	position: absolute;
}


#attic{
	background: 0 0 / cover url("images/attic.jpg");
}
#tunnel{
	background: 0 0 / contain url("images/tunnel.jpg");
}
#maison{
	background: 0 0 / cover url("images/maison.jpg");
}
#babies{
	background: black;
}

#mer{
	background: 0 0 / cover url("images/mer.jpg");
	background-position: center;
}

#centreCommercial {
	background: 0 0 / cover url("images/centreCommercial.jpeg");
	background-position: center
}

#soirée{
	background: black
}

#moi{
	margin: 0;
        height: 100vh;
        animation: changeCouleur 8s infinite alternate;
}
	@keyframes changeCouleur {
        0%   { background-color: #ff6b6b; } /* rouge clair */
        25%  { background-color: #feca57; } /* orange */
        50%  { background-color: #48dbfb; } /* bleu clair */
        75%  { background-color: #1dd1a1; } /* vert */
        100% { background-color: #5f27cd; } /* violet */
}


.spawnMachine{
	transform: scale(1);
	transition: .2s ease;
}
.spawnMachine#fruits{
	position: absolute;
	width: 150px;
	top: 50px;
	right: 100px;
	z-index: 1000;
	cursor: pointer;
}
#fruits > img{
	width: 100%;
}
.spawnMachine#baby{
	display: inline-block;
	margin: 50px auto;
	padding: 20px 70px;
	border: 5px solid white;
	border-radius: 9px;
	background: rgba(40,90,100);
	color: white;
	font-family: sans-serif;
	font-size: 22px;
	font-weight: 700;
	cursor: pointer;
	z-index: 1000;
	position: relative;
}
.spawnMachine:hover{
	transform: scale(1.2);
}

.spawnBox{
	text-align: center;
	height: 100%;
}
#panierImg{
	height: 100%;
	position: relative;
}


#soiréeImg{
	height: 80%;
	position: relative;
	display: block;
}

#moiImg{
	border: 5px solid #4CAF50; /* épaisseur, style et couleur */
    border-radius: 10px;       /* coins arrondis (optionnel) */
    padding: 5px;     	/* espace entre l'image et le cadre */
	background-color: white;
	height: 80%;
	position: relative;
	display: block;
  }
 
 .containerMoi {
     position: relative; /* Nécessaire pour positionner le texte par rapport à l'image */
    display: inline-block;
    max-width: 600px;
  }

.containerPanier{
	height: 100%;
	position: relative;
	display: inline-block;
}
.containerObjectsSpawn{
	padding: 60px 0;
	width:100%;
	height:100%;
}
#panier .containerObjectsSpawn{
	position: absolute;
	top:0;
	left:0;
	width: 80%;
}
#panier .containerObjectsSpawn .objectSpawn{
	margin: 10px 30px;
}

.objectSpawn{
	display: inline-block;
	height: 30%;
}
#babies .containerPanier{
	width: 90%;
}
#babies .containerObjectsSpawn{
	position: relative;
	padding: 10px 0;
}
#babies .objectSpawn{
	margin: 20px 40px;
}

#panierAttic{
	position: absolute;
	bottom: 150px;
	left: 200px;
	display: block;
	width: 250px;
	transform: scale(1);
	transition: .3s ease;
}
#panierAttic img{
	width: 100%;
}
#panierAttic:hover{
	transform: scale(1.2);
}

#secretImage{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	transform: translate(-50%, -50%);
}
#secretImage img{
	width: 100%;
}

#backHome{
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 1000;
	font-size: 20px;
	color: white;
	text-decoration: underline;
	background: purple;
	-webkit-box-shadow: 7px -5px 10px 0px #4B0082, 11px -9px 10px 0px #0000FF, 16px -14px 10px 0px #00FF00, 20px -17px 10px 0px #FFFF00, 24px -19px 10px 0px #FF7F00, 27px -23px 10px 0px #FF0000, 5px -3px 25px 5px rgba(0,0,0,0); 
	box-shadow: 7px -5px 10px 0px #4B0082, 11px -9px 10px 0px #0000FF, 16px -14px 10px 0px #00FF00, 20px -17px 10px 0px #FFFF00, 24px -19px 10px 0px #FF7F00, 27px -23px 10px 0px #FF0000, 5px -3px 25px 5px rgba(0,0,0,0);
}
#backHome:hover{
	color: blue;
}

#description {
	position: absolute;
	top: 20px;
	right: 20px;
	color : white;
}

#glowText {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        color: #fff;
        animation: glow 2s ease-in-out infinite, colors 6s linear infinite;
    }

    /* Glow animation (pulsing) */
    @keyframes glow {
        0%, 100% {
            text-shadow:
                0 0 5px currentColor,
                0 0 10px currentColor,
                0 0 20px currentColor,
                0 0 40px currentColor,
                0 0 80px currentColor;
        }
        50% {
            text-shadow:
                0 0 10px currentColor,
                0 0 20px currentColor,
                0 0 30px currentColor,
                0 0 60px currentColor,
                0 0 120px currentColor;
        }
    }

    /* Color cycling animation */
    @keyframes colors {
        0%   { color: #ff0000; }  /* Red */
        16%  { color: #ff9900; }  /* Orange */
        33%  { color: #ffff00; }  /* Yellow */
        50%  { color: #00ff00; }  /* Green */
        66%  { color: #00ffff; }  /* Cyan */
        83%  { color: #0000ff; }  /* Blue */
        100% { color: #ff00ff; }  /* Magenta */
    }
	
#moiText{
	color: white;
	display: block;
	position: absolute;
}

#texteMouche{
	position: absolute;
    top: 50%; /* Centrage vertical */
    left: 50%; /* Centrage horizontal */
    transform: translate(-50%, -50%); /* Ajustement pour un vrai centrage */
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent pour lisibilité */
    padding: 10px 20px;
    border-radius: 5px;
	}


#moucheText{
	font-family: cursive;
	font-size: 15px;
	color: red;
	position: center;
	left:10%;
	bottom: 10px;
}

#moucheTitre{
	font-size: 20px;
}


/*.cadreMouche{
	position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    
    background:rgba(255,255,255,0.9);
    padding:30px;
    border-radius:10px;
    
    width:400px;
    text-align:center;
    
    box-shadow:0 0 20px rgba(0,0,0,0.5);

}*/


.btn-retour {
        background: none;       
        border: none;           
        cursor: pointer;        
        padding: 0; 
}

.btn-retour img {
        width: 40px;            
        height: auto;
    }


.btn-retour:hover img {
        opacity: 0.8;
    }
	
.containerRetour {
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
        gap: 10px; 
    }